package com.jn.rxjava.service;

import java.io.Serializable;

public class WeatherResponse implements Serializable {
    private int error_code;
    private String reason;
    private Result result;

    public int getError_code() {
        return error_code;
    }

    public String getReason() {
        return reason;
    }

    public Result getResult() {
        return result;
    }

    public static class Result implements Serializable {
        private String city;
        private Realtime realtime;
        private Future[] future;

        public String getCity() {
            return city;
        }

        public Realtime getRealtime() {
            return realtime;
        }

        public Future[] getFuture() {
            return future;
        }

        public static class Realtime implements Serializable {
            private String temperature;
            private String humidity;
            private String info;
            private String wid;
            private String direct;
            private String power;
            private String aqi;

            public String getTemperature() {
                return temperature;
            }

            public String getHumidity() {
                return humidity;
            }

            public String getInfo() {
                return info;
            }

            public String getWid() {
                return wid;
            }

            public String getDirect() {
                return direct;
            }

            public String getPower() {
                return power;
            }

            public String getAqi() {
                return aqi;
            }
        }

        public static class Future implements Serializable {
            private String date;
            private String temperature;
            private String weather;
            private String direct;

            public String getDate() {
                return date;
            }

            public String getTemperature() {
                return temperature;
            }

            public String getWeather() {
                return weather;
            }

            public String getDirect() {
                return direct;
            }
        }
    }
}
